// 菜单、路由信息，由 mock\api\auth /admin/api/menu.item.current.listing 在登录时调用并统一注入
export default [
  {
    menuItemId: "admin",
    parentId: "0",
    resourceId: "",
    menuItemCnName: "系统管理",
    menuItemEnName: "System Manager",
    // 对应 router 中的 path，同时作为 name
    uri: "/admin",
    // 对应 router 中的 component；对应 pages 下的文件夹
    component: "layout/index.vue",
    redirect: "/admin/account/list",
    icon: "Grid",
    visible: 1,
    hasChildren: 1,
  },
  {
    menuItemId: "admin01",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "账号信息管理",
    menuItemEnName: "Account Info",
    uri: "/admin/account/list",
    component: "admin/account/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
  {
    menuItemId: "admin03",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "组织机构管理",
    menuItemEnName: "Organization",
    uri: "/admin/organization/list",
    component: "admin/organization/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
  {
    menuItemId: "admin05",
    parentId: "admin",
    menuItemCnName: "角色信息管理",
    menuItemEnName: "Role Info",
    resourceId: "",
    uri: "/admin/role/list",
    component: "admin/role/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
  {
    menuItemId: "admin07",
    parentId: "admin",
    menuItemCnName: "资源信息管理",
    menuItemEnName: "Resource Info",
    resourceId: "",
    uri: "/admin/resource/list",
    component: "admin/resource/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
  {
    menuItemId: "admin09",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "菜单信息管理",
    menuItemEnName: "Menu Info",
    uri: "/admin/menu/list",
    component: "admin/menu/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 1,
  },
  {
    menuItemId: "admin091",
    parentId: "admin",
    resourceId: "",
    menuItemName: "",
    uri: "/admin/menu/item/list/:menuId",
    component: "admin/menu/item/list.vue",
    icon: "",
    visible: 0,
    hasChildren: 0,
  },
  {
    menuItemId: "admin11",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "字典代码管理",
    menuItemEnName: "Code Info",

    uri: "/admin/code/list",
    component: "admin/code/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
  {
    menuItemId: "admin13",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "系统日志管理",
    menuItemEnName: "系统管理",

    uri: "/admin/log/list",
    component: "admin/log/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 1,
  },
  {
    menuItemId: "admin15",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "账号日志管理",
    menuItemEnName: "System Logs",
    uri: "/admin/account/log/list",
    component: "admin/account/log/list.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
  {
    menuItemId: "admin16",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "账号日志管理",
    menuItemEnName: "System Logs",
    uri: "/admin/account/log/list:accountName",
    component: "admin/account/log/list.vue",
    icon: "",
    visible: 0,
    hasChildren: 0,
  },
  {
    menuItemId: "admin17",
    parentId: "admin",
    resourceId: "",
    menuItemCnName: "系统配置管理",
    menuItemEnName: "System Info",
    uri: "/admin/sys/info",
    component: "admin/sys/index.vue",
    icon: "",
    visible: 1,
    hasChildren: 0,
  },
];
